home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
12984
/
12984.xpi
/
chrome
/
VideoDownloaderToolbar.jar
/
content
/
queue.xul
< prev
next >
Wrap
Extensible Markup Language
|
2010-01-29
|
2KB
|
54 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://vidbar/skin/vid.css" type="text/css"?>
<window id="vidbar-download-queue-window" title="Download Queue"
flex="1" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml" screenX="0" screenY="0"
width="640" height="480" persist="width height screenX screenY sizemode">
<script type="application/x-javascript" src="chrome://vidbar/content/utils.js" />
<script type="application/x-javascript" src="chrome://vidbar/content/db.js" />
<script type="application/x-javascript" src="chrome://vidbar/content/queue.js" />
<script type="application/x-javascript">
<![CDATA[
var downloadQueue = new com.VidBar.DownloadQueue();
window.addEventListener("load", function(event) { downloadQueue.onLoad(event); }, false);
window.addEventListener("unload", function(event) { downloadQueue.onUnload(event); }, false);
]]>
</script>
<vbox flex="1">
<groupbox flex="1">
<caption label="Waiting Queue" />
<tree id="vidbar-wait-queue" flex="1" enableColumnDrag="false"
hidecolumnpicker="true" onselect="downloadQueue.onSelect()">
<treecols>
<treecol id="queueFilename" label="File Name" flex="1" />
<treecol id="queueSize" label="Size" width="100" />
</treecols>
<treechildren id="queueChildren" />
</tree>
<hbox>
<button id="vidbar-queue-remove" label="Remove From Queue" flex="1"
oncommand="downloadQueue.removeFromQueue()" disabled="true" />
<button id="vidbar-queue-clean" label="Clean Queue" flex="1"
oncommand="downloadQueue.cleanQueue()" />
</hbox>
</groupbox>
<groupbox flex="1">
<caption label="Downloading List" />
<tree id="vidbar-download-list" flex="1" enableColumnDrag="false"
hidecolumnpicker="true">
<treecols>
<treecol id="downFilename" label="File Name" flex="1" />
<treecol id="downStatus" label="Status" width="80" />
<treecol id="downSize" label="Size" width="100" />
<treecol id="downPercent" label="Complete Percent" width="120" />
</treecols>
<treechildren id="downChildren" />
</tree>
</groupbox>
</vbox>
</window>